define(function(require, exports, module) {
	"use strict";
	require("mui");
	require("jquery");
	mui.init({
		swipeBack: true //启用右滑关闭功能
	});
	$(function() {
		mui('.mui-slider').slider().setStopped(true);
		mui("body").on("tap", ".guideSilderGlobalEnd", function() {
			document.location.href = "index.html?dd_nav_bgcolor=FFFF943E";
		});
		mui("body").on("tap", ".guideSilderGlobal", function() {
			var gallery = mui('.mui-slider');
			var silderIndex = Number($(this).attr("data-id"));
			gallery.slider().gotoItem(silderIndex); //跳转到第index张图片，index从0开始；
		});
	});
});